﻿using _2112A_2_MES._XiangHe;
using _2112A_2_MES.SuJiaHaos.Sasles;
using _2112A_2_MES.SuJiaHaos.WareHouse;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test.WangWeiHao;
using Volo.Abp.Application.Services;

namespace _2112A_2_MES.SuJiaHaos
{
    /// <summary>
    /// 销售退货服务接口
    /// </summary>
    public interface ISasleService : IApplicationService
    {
        /// <summary>
        /// 获取销售退货信息
        /// </summary>
        /// <returns>返回销售退货信息的实体</returns>
        Task<ReturnSelect<object>> GetSasleList(int pageSize, int pageIndex);

        /// <summary>
        /// 销售退货添加
        /// </summary>
        /// <param name="input">销售退货实体</param>
        /// <returns></returns>
        Task<int> GetCreateSasle(CreateSasleDTO input);

        /// <summary>
        /// 销售退货信息删除
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteSasle(int id);

        /// <summary>
        /// 销售退货反填
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回客户信息实体</returns>
        Task<Sasle> GetSasle(int id);

        /// <summary>
        /// 销售退货信息修改
        /// </summary>
        /// <param name="input">仓库实体</param>
        /// <returns>返回受影响行数</returns>
        Task<int> UpdateSasle(CreateSasleDTO input);

    }
}
